package com.san.app.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import com.san.app.domain.InspectDO;
import com.san.app.vo.InspectHisAllVo;
import com.san.app.vo.InspectHisCheckedVo;
import com.san.app.vo.InspectHisVo;
import com.san.app.vo.InspectVO;
import com.san.base.dao.BaseDao;
/**
 * 信用核查dao
 * @author SuperSR
 * @date 2019年3月26日 上午10:22:05
 *
 */
@Mapper
public interface InspectDao extends BaseDao{

	InspectDO getById(Long inspectId);
	
	List<InspectDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(InspectVO inspectVO);
	
	int doEdit(InspectVO inspectVO);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
	
	List<InspectHisVo> hislist(Map<String, Object> map);
	
	int hiscount(Map<String, Object> map);

	List<InspectHisCheckedVo> historycheckedList(Map<String, Object> map);

	int historycheckedListCount(Map<String, Object> map);

	List<InspectHisAllVo> historyallList(Map<String, Object> map);

	int historyallListCount(Map<String, Object> map);
}
